LABEL.PREVIEW Function

Syntax

Label_Name as C = LABEL.PREVIEW(C layoutname [,C filter [,C order [,L modal [,L session_modal [,* arguments [,* options ]]]]]])

Arguments

layoutname

The name of the label to preview.

filter

Optional. Default = ".T." (All records). A character filter expression that evaluates to a logical value and selects records from the table.

order

Optional. Default = record order. A character order expression that sorts selected records.

modal

Optional. Default = .F.

Value
Description
.T.

The user cannot change focus without closing the dialog.

.F.

The user can change focus without closing the dialog.

session_modal

Optional. Default = .T.

Value
Description
.T.

This means that any script that calls the LABEL.PREVIEW() method will pause until the Print Preview window is closed. However, the preview window itself is not a modal dialog box. The user is free to select other windows in Alpha Anywhere.

.F.

The script does not pause until the Print Preview window is closed.

arguments

See OBJECT.PREVIEW() for more details.

options

See OBJECT.PREVIEW() for more details.

Description

The LABEL.PREVIEW() method displays the Preview dialog box showing the selected label.

See Also